package com.feicheng.iou.service;

import com.feicheng.iou.entity.Baoming;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.iou.entity.Student;
import com.feicheng.iou.pojo.BaomingPOJO;
import com.feicheng.iou.result.ResultInfo;
import com.feicheng.iou.result.ResultInfoV110;

import javax.servlet.http.HttpServletRequest;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tianchunlei
 * @since 2021-06-28
 */
public interface BaomingService extends IService<Baoming> {

    //删除报名有关信息
    ResultInfoV110 delete();

    //重新报名查询回显信息接口
    ResultInfoV110 selectAgainShow(Integer studentId);
    //重新报名接口
    ResultInfoV110 againInsert(BaomingPOJO baomingPOJO, HttpServletRequest request);

    //报名线索添加接口
    ResultInfoV110 insert(BaomingPOJO baomingPOJO, HttpServletRequest request);

    //报名线索列表查询接口
    ResultInfoV110 selectBaominngList(BaomingPOJO baomingPOJO, HttpServletRequest request);

    //查询单个线索详细接口
    ResultInfoV110 selectBaominginfo(Integer id);

    //报名线索修改的接口
    ResultInfoV110 update(BaomingPOJO baomingPOJO);

    //分配报名线索的接口
    ResultInfoV110 updateAutor(Integer baomingId,Integer autorId);
    /**
     * @Author wuweinan
     * @Description 根据学生Id查询报名信息
     * @Date 2021-7-1 18:11
     * @param studentId
     * @return List<Try>
     */

    ResultInfo selectBaomingByStudentId(Integer studentId);




}
